define(["app", "angular", "services/BaseService"], function(app, angular) {
	
	var deps = ["$http", "BaseService"];
	
	function smallNoManagementResource($http, BaseService) {
        return initResource($http, BaseService.restfulUrl + "smallNo/", BaseService.formHeader);
    }
	
	var postHeader = {
	        "Content-Type" : "application/x-www-form-urlencoded;charset=utf-8"
	};
	
	function initResource($http, preUrl,formHeader) {
        return {
        	querySmallNoList: function (currentPage,pageSize,smallNoName,platformName) {
                return $http.get(preUrl + "querySmallNoList", {
                    params: {
                    	currentPage:currentPage,
                    	pageSize:pageSize,
                    	smallNoName:smallNoName,
                    	platformName:platformName
                    }
                });
            }
        };
        
    }
	smallNoManagementResource.$inject = deps;
	app.lazy.factory("SmallNoManagementResource", smallNoManagementResource);
});
